package com.xgk.boot.module.core.dal.entity.truck;

import com.baomidou.mybatisplus.annotation.*;
import com.xgk.boot.framework.mybatis.core.dataobject.BaseNoDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

/**
 * 服务商费用记录实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("truck_order_service_fee")
public class TruckOrderServiceFeeDO extends BaseNoDO {

    @TableId(value = "osf_id", type = IdType.ASSIGN_ID)
    private Long osfId;

    /** 关联订单编号 */
    @TableField("order_code")
    private String orderCode;

    /** 运单号 */
    @TableField("tracking_number")
    private String trackingNumber;

    /** 费用代码 */
    @TableField("fee_code")
    private String feeCode;

    /** 系统费用金额 */
    @TableField("fee_value")
    private BigDecimal feeValue;

    /** 服务商费用 */
    @TableField("service_amount")
    private BigDecimal serviceAmount;

    /** 币种代码 */
    @TableField("currency_code")
    private String currencyCode;
}